package cn.edu.scau.cmi.wujiaming.experiment3.abstractFactory.factory;

import cn.edu.scau.cmi.wujiaming.experiment3.abstractFactory.contreteInsurance.PICCAutomobileDamage;
import cn.edu.scau.cmi.wujiaming.experiment3.abstractFactory.contreteInsurance.PICCDriverInjured;
import cn.edu.scau.cmi.wujiaming.experiment3.abstractFactory.contreteInsurance.PICCMultipleAccidents;
import cn.edu.scau.cmi.wujiaming.experiment3.abstractFactory.contreteInsurance.PICCPersonalCasualty;
import cn.edu.scau.cmi.wujiaming.experiment3.abstractFactory.insuracne.Insurance;

public class PICCFactory extends CompanyFactory {

	@Override
	public Insurance getAutomobileDamage() {
		return new PICCAutomobileDamage();
	}

	@Override
	public Insurance getDriverInjured() {
		return new PICCDriverInjured();
	}

	@Override
	public Insurance getMultipleAccidents() {
		return new PICCMultipleAccidents();
	}

	@Override
	public Insurance getPersonalCasualty() {
		return new PICCPersonalCasualty();
	}

}
